<?php
include 'include/connect.php';
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles/main.css" />
<title>Central T</title>
</head>
<body>
<?php 
$stmt = $db->prepare("SELECT * FROM users");

$stmt->execute();

/*** fetch the results ***/
$result = $stmt->fetchAll();

/*** loop of the results ***/
foreach($result as $row)
{
	echo $row['id'].'&nbsp;';
	echo $row['username'].'<br />';
}

?></body>

</html>
